package com.wu.dms.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;
import java.util.Date;

@TableName(value = "song")
@Data
public class Song implements Serializable {

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private String pic;

    private String url;

    private Integer singerId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String lyric;

    private String name;

    @TableId(type = IdType.AUTO)
    private Long id;


    private String introduction;


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
